package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Fizz Pu
 * @Date 2021/4/28 下午10:44
 * @Version 1.0
 * 失之毫厘，缪之千里！
 */

@RestController
public class HelloController {
    @RequestMapping(value = "/", method = RequestMethod.GET)
    public String index(){
        return "hello";
    }
}
